<script>
$(document).ready(function(){
	{params}
	
	var c = {
		init:function(){
			importcss('chat');
			this.cnum = params.cnum;
			importjs('reim', function(){
				c.showreim();
			});
		},
		showreim:function(){
			reim.cnum 	= this.cnum;
			js.initbtn(reim);
		}
	}
	c.init();
	
});
</script>

<div class="cursor lefticons" id="cogbtn" clickevt="showmenu" align="center" style="position:fixed;bottom:5px;left:0px;padding:18px 0px;width:50px;font-size:16px;color:#ffffff;margin:2px 5px"><i class="icon-reorder"></i></div>

<table style="width:100%;" height="100%" oncontextmenu="return false">
	<tr valign="top">
	<td height="100%" style="" width="60" class="bg-main">
		<div align="center" style="width:60px;overflow:hidden">
			<div style="margin-top:20px"><img clickevt="openmyinfo" src="images/noface.png" id="reim_myface" style="border-radius:50%;" class="cursor" align="absmiddle" height="40" width="40">
			</div>
			<div style="margin-top:20px;position:relative;">
				<div class="cursor lefticons leftactive" id="changetabs0" clickevt="changetabs,0" >
					<div style="font-size:20px;"><i class="icon-comment-alt"></i></div>
					<div style="font-size:10px;">消息</div>
				</div>
				<span id="chat_stotal" style="position:absolute;top:-2px;right:1px;display:none" class="badge"></span>
			</div>
			<div>
				<div class="cursor lefticons" id="changetabs1" clickevt="changetabs,1">
					<div style="font-size:20px;"><i class="icon-sitemap"></i></div>
					<div style="font-size:10px;">通讯录</div>
				</div>
			</div>
			<div style="position:relative;">
				<div class="cursor lefticons" id="changetabs2" clickevt="changetabs,2">
					<div style="font-size:20px;"><i class="icon-th-large"></i></div>
					<div style="font-size:10px;">应用</div>
				</div>
				<span id="agent_stotal" style="position:absolute;top:-2px;right:1px;display:none" class="badge"></span>
			</div>
			
			
		</div>
	</td>
	<td width="220px" id="maincenter" bgcolor="#ebebeb" style="border-right:.5px rgba(0,0,0,0.1) solid">
		<div style="height:60px;overflow:hidden" align="center"><input id="reim_keysou" placeholder="联系人/会话/应用" style="border:none;background-color:#d4d6d9; width:160px;height:30px;border-radius:5px;margin-top:13px;padding:0px 10px" type="text"> &nbsp;&nbsp;<span class="cursor" clickevt="addplus" style="color:#999999"><i class="icon-plus"></i></span></div>
		
		<div id="centlist" resizes="60" style="height:300px;overflow:hidden;position:relative;width:230px">
			<div id="centshow0" style="margin:5px 0px">
				<div id="historylist"></div>
				<div id="historylist_tems" style="padding-top:150px;text-align:center;color:#cccccc">
				<span style="font-size:30px"><i class="icon-comment-alt"></i></span><br>暂无消息
				</div>
			</div>
			<div id="centshow1" style="display:none">
				<div class="fontsize14" style="padding:5px;color:#aaaaaa;border-bottom:1px #e1e1e1 solid">组织结构</div>
				<div id="showdept" style="margin:5px 0px"></div>
				
				<div class="fontsize14" style="padding:5px;color:#aaaaaa;border-bottom:1px #e1e1e1 solid;margin-bottom:5px">会话群(<span id="groupzs">0</span>)</div>
				<div id="showgroup"></div>
				
				
				<div align="center" style="padding:10px;"><a clickevt="shuaxins" style="font-size:12px;color:#cccccc" href="javascript:;"><i class="icon-refresh"></i> 刷新</a></div>
			</div>
			
		</div>
	</td>
	<td>
		<div id="viewzhulist" resizes="0" style="height:300px;overflow:hidden">
			<div align="center" tabs="home" id="tabs_home" style="margin-top:200px;font-size:100px;color:#e8e8e8">
				<i class="icon-comments-alt"></i>
			</div>	
		</div>
	</td>
	</tr>
</table>